#pragma once
#include "../stdafx.h"
#include "Manager.h"
#include "../scene/Camera.h"
#include "../scene/Menu.h"
#include "../math/Coordinate.h"
#include "../math/math.h"
#include "../scene/world.h"
namespace SLG
{
	extern Coordinate* m_coord;
	class Pickup
	{
	public:
		Pickup(World*,Camera*,int,int,bool);
		~Pickup(void);
		uint32 CheckPickingInWorld(D3DXVECTOR2*);
		uint32 CheckPickingInCell(D3DXVECTOR2*);
		int32 PickBattleMenu(Menu*,D3DXVECTOR2*);
		void PickObj(Menu*,D3DXVECTOR2*);
		void Picking(Menu*,D3DXVECTOR2*);
		void PickCell(World* w,D3DXVECTOR2* pos);
		void Log(int32);

		World* m_world;
		Camera* m_Camera;
		FigureManager* m_fManager;
		int m_screenWidth;
		int m_screenHeight;
		int m_hscreenWidth;
		int m_hscreenHeight;
		bool m_mode; //false story, true fight;
		FILE* m_fp;
	};
}